package com.sys.mapper;

import com.sys.entity.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StorageRecordMapper {
    List<StorageRecord> getByName(@Param("goodsName") String goodsName);
    List<StorageRecord> getBySupplierId(@Param("SupplierId") Integer supplierId);
    List<StorageRecord> getPayStatus(@Param("payStatus") Integer payStatus);
    List<StorageRecord> getByNameAndBySupplierIdAndPauStatus(@Param("goodsName") String goodsName,@Param("SupplierId") Integer supplierId,@Param("payStatus") Integer payStatus);
    List<StorageRecord> getByNameAndBySupplierIdAndPauStatusMap(Map map);
}
